#ifndef DEBUGTHREAD_H
#define DEBUGTHREAD_H
#include <QThread>
#include "slidegenerator.h"

class DebugThread : public QThread
{
    //A temporary class that provides a 'command prompt' running on a seperate thread
    // to simulate a UDP interface. A little buggy at this stage and implements
    //Qt Signals, which won't be strictly necessary.
    Q_OBJECT
public:
    DebugThread(SlideGenerator& generator);
signals:
    void genMsg(void);
    void dbMsg(const char* r);
    void slideMsg(const char* t);
    void newStopPositionMsg(int s);
protected:
    virtual void run();
private:
    SlideGenerator* m_gen;
};

#endif // DEBUGTHREAD_H
